package com.zte.claa.inficombo.csa.app.service.sapi.ffhost.bean;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class FFHostState {
	private long logid; 			//	记录ID	Long	自增长	N	主键
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone="GMT+8")
	private Timestamp collecttime; 	//	采集时间	Timestamp		N	创建索引
	private String deveui; 			//	消防设施系统资源编号	Varchar(100)	NA	N	创建索引
	private String projectid; 		//	项目ID	VARCHAR(200)		N	归属项目，创建索引
	private int systype = 0; 		//	消防设施系统类型标记	Int	0	N	参见GB规范定义
	private int sysaddr = 0; 		//	消防设施系统地址	Int	0	N	
	private int statevalue = 0; 	//	消防设施系统状态原始值	Int	0	N	
	private byte runstate = 0; 		//	运行状态	Byte	0	N	1--正常运行；	0--测试状态；
	private byte firestate = 0; //	火警状态	Byte	0	N	1--火警；	0--无火警；
	private byte failstate = 0; //	故障状态	Byte	0	N	1--故障；	0--无故障；
	private byte maskstate = 0; //	屏蔽状态	Byte	0	N	1--屏蔽；	0--无屏蔽；
	private byte monistate = 0; //	监管状态	Byte	0	N	1--监管；	0--无监管；
	private byte openstate = 0; //	开启状态	Byte	0	N	1--开启；	0--关闭；
	private byte feedbackstate = 0; //	反馈状态	Byte	0	N	1--反馈；	0--无反馈；
	private byte delaystate = 0; 	//	延时状态	Byte	0	N	1--延时状态；	0--未延时；
	private byte mainpowerstate = 0; //	主电状态	Byte	0	N	1--主电故障；	0--主电正常；
	private byte bakpowerstate = 0;  //	备电状态	Byte	0	N	1--备电故障；	0--备电正常；
	private byte busstate = 0; 	//	总线状态	Byte	0	N	1--总线故障；	0--总线正常；
	private byte modestate = 0; //	模式状态	Byte	0	N	1--手动状态；	0--自动状态；
	private byte confchgstate = 0;  //	配置改变状态	Byte	0	N	1--配置改变；	0--无配置改变；
	private byte resetstate = 0; 	//	复位状态	Byte	0	N	1--复位；	0--正常；
	private byte resrv1 = 0; //	预留1	Byte	0	N	0
	private byte resrv2 = 0; //	预留2	Byte	0	N	0
	
	public FFHostState(){
		
	}

	public long getLogid() {
		return logid;
	}

	public void setLogid(long logid) {
		this.logid = logid;
	}

	public Timestamp getCollecttime() {
		return collecttime;
	}

	public void setCollecttime(Timestamp collecttime) {
		this.collecttime = collecttime;
	}

	public String getDeveui() {
		return deveui;
	}

	public void setDeveui(String deveui) {
		this.deveui = deveui;
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public int getSystype() {
		return systype;
	}

	public void setSystype(int systype) {
		this.systype = systype;
	}

	public int getSysaddr() {
		return sysaddr;
	}

	public void setSysaddr(int sysaddr) {
		this.sysaddr = sysaddr;
	}

	public int getStatevalue() {
		return statevalue;
	}

	public void setStatevalue(int statevalue) {
		this.statevalue = statevalue;
	}

	public byte getRunstate() {
		return runstate;
	}

	public void setRunstate(byte runstate) {
		this.runstate = runstate;
	}

	public byte getFirestate() {
		return firestate;
	}

	public void setFirestate(byte firestate) {
		this.firestate = firestate;
	}

	public byte getFailstate() {
		return failstate;
	}

	public void setFailstate(byte failstate) {
		this.failstate = failstate;
	}

	public byte getMaskstate() {
		return maskstate;
	}

	public void setMaskstate(byte maskstate) {
		this.maskstate = maskstate;
	}

	public byte getMonistate() {
		return monistate;
	}

	public void setMonistate(byte monistate) {
		this.monistate = monistate;
	}

	public byte getOpenstate() {
		return openstate;
	}

	public void setOpenstate(byte openstate) {
		this.openstate = openstate;
	}

	public byte getFeedbackstate() {
		return feedbackstate;
	}

	public void setFeedbackstate(byte feedbackstate) {
		this.feedbackstate = feedbackstate;
	}

	public byte getDelaystate() {
		return delaystate;
	}

	public void setDelaystate(byte delaystate) {
		this.delaystate = delaystate;
	}

	public byte getMainpowerstate() {
		return mainpowerstate;
	}

	public void setMainpowerstate(byte mainpowerstate) {
		this.mainpowerstate = mainpowerstate;
	}

	public byte getBakpowerstate() {
		return bakpowerstate;
	}

	public void setBakpowerstate(byte bakpowerstate) {
		this.bakpowerstate = bakpowerstate;
	}

	public byte getBusstate() {
		return busstate;
	}

	public void setBusstate(byte busstate) {
		this.busstate = busstate;
	}

	public byte getModestate() {
		return modestate;
	}

	public void setModestate(byte modestate) {
		this.modestate = modestate;
	}

	public byte getConfchgstate() {
		return confchgstate;
	}

	public void setConfchgstate(byte confchgstate) {
		this.confchgstate = confchgstate;
	}

	public byte getResetstate() {
		return resetstate;
	}

	public void setResetstate(byte resetstate) {
		this.resetstate = resetstate;
	}

	public byte getResrv1() {
		return resrv1;
	}

	public void setResrv1(byte resrv1) {
		this.resrv1 = resrv1;
	}

	public byte getResrv2() {
		return resrv2;
	}

	public void setResrv2(byte resrv2) {
		this.resrv2 = resrv2;
	}
	
}
